<?php
set_include_path(get_include_path().PATH_SEPARATOR.'./lib');

require_once('Zend/Amf/Server.php');
require_once('src/service/YabzsService.php');
 
$server = new Zend_Amf_Server();

$server->setClass("YabzsService");

$server->setClassMap("FlagVO", "FlagVO");
$server->setClassMap("EventVO", "EventVO");
$server->setClassMap("GameStatsVO", "GameStatsVO");
$server->setClassMap("GameVO", "GameVO");
$server->setClassMap("PlayerStatsVO", "PlayerStatsVO");
$server->setClassMap("PlayerVO", "PlayerVO");
$server->setClassMap("TotalGameStatsVO", "TotalGameStatsVO");
$server->setClassMap("KillratioStatsVO", "KillratioStatsVO");

set_time_limit(300);

echo($server -> handle());
?>